<input type="email"
       {foreach $data.attrs as $key => $attr}
{$key}="{$attr}"
{/foreach}
>